package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 tb_income
 *
 * @author ruoyi
 * @date 2022-03-19
 */
public class TbIncome extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long incomeId;

    /** 收入账户 */
    @Excel(name = "收入账户")
    private Long ofAccount;

    /** 币种 */
    @Excel(name = "币种")
    private Long ofCurrency;

    /** 交易类型 */
    @Excel(name = "交易类型")
    private String dealType;

    /** 收款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "收款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incomeDate;

    /** 凭证日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "凭证日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date proofDete;

    /** 收入原因 */
    @Excel(name = "收入原因")
    private Long ofReason;

    /** 对象 */
    @Excel(name = "对象")
    private String object;

    /** 收入金额 */
    @Excel(name = "收入金额")
    private String incomeMoney;

    /** 手续费 */
    @Excel(name = "手续费")
    private String serviceCharge;

    /** 营业税 */
    @Excel(name = "营业税")
    private String dbTax;

    /** 定金 */
    @Excel(name = "定金")
    private String earnest;

    private String invoice;

    /** 附件 */
    @Excel(name = "附件")
    private String fileUrl;

    private String finalType;


    public String getFinalType() {
        return finalType;
    }

    public void setFinalType(String finalType) {
        this.finalType = finalType;
    }
    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl;
    }

    public String getInvoice() {
        return invoice;
    }

    public void setInvoice(String invoice) {
        this.invoice = invoice;
    }

    public void setIncomeId(Long incomeId)
    {
        this.incomeId = incomeId;
    }

    public Long getIncomeId()
    {
        return incomeId;
    }
    public void setOfAccount(Long ofAccount)
    {
        this.ofAccount = ofAccount;
    }

    public Long getOfAccount()
    {
        return ofAccount;
    }
    public void setOfCurrency(Long ofCurrency)
    {
        this.ofCurrency = ofCurrency;
    }

    public Long getOfCurrency()
    {
        return ofCurrency;
    }
    public void setDealType(String dealType)
    {
        this.dealType = dealType;
    }

    public String getDealType()
    {
        return dealType;
    }
    public void setIncomeDate(Date incomeDate)
    {
        this.incomeDate = incomeDate;
    }

    public Date getIncomeDate()
    {
        return incomeDate;
    }
    public void setProofDete(Date proofDete)
    {
        this.proofDete = proofDete;
    }

    public Date getProofDete()
    {
        return proofDete;
    }
    public void setOfReason(Long ofReason)
    {
        this.ofReason = ofReason;
    }

    public Long getOfReason()
    {
        return ofReason;
    }
    public void setObject(String object)
    {
        this.object = object;
    }

    public String getObject()
    {
        return object;
    }
    public void setIncomeMoney(String incomeMoney)
    {
        this.incomeMoney = incomeMoney;
    }

    public String getIncomeMoney()
    {
        return incomeMoney;
    }
    public void setServiceCharge(String serviceCharge)
    {
        this.serviceCharge = serviceCharge;
    }

    public String getServiceCharge()
    {
        return serviceCharge;
    }
    public void setDbTax(String dbTax)
    {
        this.dbTax = dbTax;
    }

    public String getDbTax()
    {
        return dbTax;
    }
    public void setEarnest(String earnest)
    {
        this.earnest = earnest;
    }

    public String getEarnest()
    {
        return earnest;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("incomeId", getIncomeId())
                .append("ofAccount", getOfAccount())
                .append("ofCurrency", getOfCurrency())
                .append("dealType", getDealType())
                .append("incomeDate", getIncomeDate())
                .append("proofDete", getProofDete())
                .append("ofReason", getOfReason())
                .append("object", getObject())
                .append("incomeMoney", getIncomeMoney())
                .append("serviceCharge", getServiceCharge())
                .append("dbTax", getDbTax())
                .append("earnest", getEarnest())
                .append("remark", getRemark())
                .toString();
    }
}
